@extends('layouts.adminlayout')

@section('main')

<section class="content">
    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
        <div class="box box-primary">
            <div class="box-header">
                <h3 class="box-title">Chỉnh Sửa Hội Đồng Thi <small>Tổ chức thi</small></h3>
            </div><!-- /.box-header -->
            {{ Form::model($hoi_dong_thi, array('method' => 'PATCH', 'route' => array('boards.update', $hoi_dong_thi->id))) }}
            <div class="box-body">
                <div class="form-group">
                    {{ Form::label('ma_hoi_dong_thi', 'Mã hội đồng thi') }}
                    {{ Form::text('ma_hoi_dong_thi',null,array('required','class'=>'form-control')) }}
                </div>
                <div class="form-group">
                    {{ Form::label('ten_hoi_dong_thi', 'Tên hội đồng thi') }}
                    {{ Form::text('ten_hoi_dong_thi',null,array('required','class'=>'form-control')) }}
                </div>
                <div class="form-footer">     
                    {{ Form::submit('Cập Nhật', array('class' => 'btn btn-info')) }}
                    {{ link_to_route('boards.show', 'Huỷ', $hoi_dong_thi->id, array('class' => 'btn')) }}
                </div>
                {{ Form::close() }}

                <br>
                @if ($errors->any())
                    {{ implode('', $errors->all('<div class="error callout callout-danger">:message</div>')) }}
                @endif
            </div>
        </div>
</section>
@stop